package com.travelingsalesmen.post.rmi;

import com.travelingsalesmen.post.Catalog;
import com.travelingsalesmen.post.Invoice;
import java.rmi.Remote;
import java.rmi.RemoteException;

public interface IServer extends Remote {
 
    public void setCatalog(Catalog catalog) throws RemoteException;
    
    public Catalog getCatalog() throws RemoteException;
    
    public void uploadInvoice(Invoice invoice) throws RemoteException;
    
    public int getNumberOfSales() throws RemoteException;
    
    public void printInvoices() throws RemoteException;
    
    public void printInvoicesToFile() throws RemoteException;
    
}
